package com.kzj.dao;

import com.kzj.domain.User;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Select;

import java.util.List;

/**
 * <p>
 *  Mapper 接口
 * </p>
 *
 * @author kzj
 * @since 2023-11-15
 */
@Mapper

public interface UserDao extends BaseMapper<User> {
    @Select("select * from user")
    List<User> getAll();
}
